package com.jqbd.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author yuan
 * @date 2022/11/11 9:02
 * @description
 */
@Data
public class Education {
    @ExcelProperty("学历编号")
    private Integer educationId;

    @ExcelProperty("简历编号")
    private Integer resumeId;

    @ExcelProperty("毕业院校")
    private String schoolName;

    @ExcelProperty("专业")
    private String major;

    @ExcelProperty("学历类型")
    private Integer diplomaType;

    @ExcelProperty("主修课程")
    private String majors;

    @ExcelProperty("学历证明")
    private String educationAvatar;

    @ExcelProperty("入学时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @ExcelProperty("毕业时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;
}
